<!-- 项目合同 -->
<template>
  <div class="content">
    <div style="display: flex; justify-content: space-between; margin-top: 20px;">
      <contract-pay-col-box :tabNum="tabNum" class="contract-pay-col-box" />
      <month-collection :tabNum="tabNum" class="month-collection" />
    </div>
    <div style="display: flex; justify-content: space-between; margin-top: 20px;">
      <payment-condition :tabNum="tabNum" class="payment-condition" />
      <payment-contract-box :tabNum="tabNum" class="payment-contract-box" />
    </div>
  </div>
</template>

<script>
import ContractPayColBox from './contractPayColBox'
import MonthCollection from './monthCollection'
import PaymentCondition from './paymentCondition'
import PaymentContractBox from './paymentContractBox'
export default {
  components: {ContractPayColBox, MonthCollection, PaymentCondition, PaymentContractBox},
  props: {
    tabNum: {
      type: String,
      default: '0'
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  .contract-pay-col-box,.month-collection,.payment-condition,.payment-contract-box {
    width: 49.2%;
    height: 460px;
  }
  .payment-condition,.payment-contract-box {
    margin-top: 10px;
    margin-bottom: 30px;
  }
}
</style>